recreateClaimsAndDisclosuresPerClaim

fun <JWT> SdJwt<JWT>.recreateClaimsAndDisclosuresPerClaim(claimsOf: (JWT) -> JsonObject): Pair<JsonObject, DisclosuresPerClaimPath>(source)

Deprecated

This method will be removed in a future version

Replace with

with(SdJwtPresentationOps(claimsOf)) { recreateClaimsAndDisclosuresPerClaim() }

Recreates the claims, used to produce the SD-JWT and at the same time calculates DisclosuresPerClaim

Parameters

claimsOf

a function to obtain the claims of the SdJwt.jwt

JWT

the type representing the JWT part of the SD-JWT